#include <QtGui>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QString locale = QLocale::system().name();

    QTranslator translator;
    if(translator.load(QString(":/languages/Request_") + locale)) a.installTranslator(&translator);
    QTranslator updmgr_translator;
    if(updmgr_translator.load(QString(":/languages/UpdateManager_") + locale)) a.installTranslator(&updmgr_translator);

    MainWindow w;
    w.show();
    
    return a.exec();
}
